/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2024-2024.
 * Description: support for RTOS_DEBUG_DUMP_USER_PROCESS
 * Author: douzhaolei
 * Create: 2024-02-26
 */

#include <linux/mm.h>

static inline void dump_userspace_context(struct task_struct *p)
{
	struct thread_struct *t = &(p->thread);

	pr_info("fault_addr:%lx, fault_code:%lx\n", t->fault_address, t->fault_code);
}
